using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.Serialization;
using System.Xml.Serialization;

namespace Cuahsi.Data.Interop.WaterML2.om_20
{
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.233")]
    [Serializable()]
    [DebuggerStepThrough()]
    [DesignerCategory("code")]
    [XmlType(Namespace = "http://www.opengis.net/om/2.0")]
    [DataContract(Name = "OM_ObservationPropertyType", Namespace = "http://www.opengis.net/om/2.0")]
    public partial class OM_ObservationPropertyType
    {

        private OM_ObservationType oM_ObservationField;

        private string nilReasonField;

        private string remoteSchemaField;

        public OM_ObservationPropertyType()
        {
            this.oM_ObservationField = new OM_ObservationType();
        }

        [XmlElement(Order = 0)]
        [DataMember()]
        public OM_ObservationType OM_Observation
        {
            get
            {
                return this.oM_ObservationField;
            }
            set
            {
                this.oM_ObservationField = value;
            }
        }

        [XmlAttribute()]
        [DataMember()]
        public string nilReason
        {
            get
            {
                return this.nilReasonField;
            }
            set
            {
                this.nilReasonField = value;
            }
        }

        [XmlAttribute(Form = System.Xml.Schema.XmlSchemaForm.Qualified, Namespace = "http://www.opengis.net/gml/3.2", DataType = "anyURI")]
        [DataMember()]
        public string remoteSchema
        {
            get
            {
                return this.remoteSchemaField;
            }
            set
            {
                this.remoteSchemaField = value;
            }
        }
    }
}